package com.xjzd.std.singleton;

public class Main {

    public static void main(String[] args) {
        new Thread(() -> {
            Singleton instance = Singleton.getInstance();
            System.out.println(instance);
        }).start();
        new Thread(() -> {
            Singleton instance = Singleton.getInstance();
            System.out.println(instance);
        }).start();
    }
}
